

GENTICS.Aloha.settings = {
	logLevels: {'error': true, 'warn': true, 'info': true, 'debug': false},
	errorhandling : false,
	ribbon: false,
	"i18n": {
		"current": "{{LANGUAGE_CODE}}"
	},
	"plugins": {
		"com.gentics.aloha.plugins.Format": {
			// all elements with no specific configuration get this configuration
			config : ["b", "i", "sub", "sup", "p", "h1", "h2", "h3", "h4", "h6","pre", "removeFormat"],
			editables : {
				'#title' : []
			}
		},
		"com.gentics.aloha.plugins.Link": {
			config : [ 'a' ],
			editables : {
				'#title' : []
			},
			objectTypeFilter: ['website'],
			onHrefChange: function( obj, href, item ) {
				if ( item ) {
					jQuery(obj).attr('data-name', item.name);
				} else {
					jQuery(obj).removeAttr('data-name');
				}
			}
		},
		"com.gentics.aloha.plugins.List" : {
			config : [ 'ul', 'ol' ],
			editables : {
				'#title': [ ]
			}
		},
		/*"com.gentics.aloha.plugins.Table" : {
			config : [ 'table' ],
			editables : {
				'#title': [ ]
			}
		}*/
	},
	"repositories": {
		{% autoescape off %}
		{% if tree %}
		"com.gentics.aloha.repositories.internalLink" : {
			treePage: {{tree}}
		}
		{% endif %}
		{% endautoescape %}
	}
};

